package com.neusoft.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 假期类型表
 */
@ApiModel(description="假期类型表")
@Data
@TableName(value = "vocation_type")
public class VocationType {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 假期名称
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value="假期名称")
    private String name;

    /**
     * 是否受剩余天数限制,1是0否
     */
    @TableField(value = "days_limit")
    @ApiModelProperty(value="是否受剩余天数限制,1是0否")
    private Boolean daysLimit;
}